<?php
class UserController extends Zend_Controller_Action {
	
	private $log;
	private $user;
	
	public function init(){
		$this->log = Zend_Registry::get('log');
		
	}
	
	public function getdetailAction() {
		$u = Macys_Api_V2_User2::getInstance();
		$u->setParams('test');
		$this->view->display = $u->getUserDetails();
		//$this->user = new Macys_Api_V2_User();
		//var_dump($this->user->getDetails());
		//$this->view->display = $this->user->getDetails();
		//$this->getHelper('viewRenderer')->setNoRender();
	}
	
	public function getdetailRegAction() {
		$u = new Macys_Api_V2_User2();
		$u->setParams('test');
		$this->view->display = $u->getUserDetails();
	}
	
	public function getdetailedsummaryAction() {
		
		$u = new Macys_Api_V2_User();
		//$u->setParams('test');
		var_dump($u->getDetails());
		
	
		
		//$this->view->display = $u->getUserDetails();
		$this->getHelper('viewRenderer')->setNoRender();
	}
	
	
}